#ifndef __ISR_H
#define __ISR_H

#include "config.h" //通用配置头文件

/* Millisecond tick count incremented by SysTick_Handler */
extern volatile uint32_t msTicks;
/* UART接收状态机 */
extern volatile uint8_t uart_sm;
/* UART接收缓冲区 */
extern volatile uint8_t uart_rxdat[3];
/* UART接收完成标志 */
extern volatile uint8_t UART0_flag;
/* 传感器数据结构体变量 */
extern volatile sensor_t sensor_data; 
/* K1K2按键事件标记 */
extern volatile uint32_t keyPressEvent[2];
/* UART DMA传输完成标志 */
extern volatile bool gUartDMATXdone; 
/* UART DMA接收完成标志 */
extern volatile bool gUartDMARXdone;
/* UART传输帧缓冲区 */
extern volatile uart_rxbuffer_t gReceiveBuffer;
#endif /* __ISR_H */
